package viqiang.ye.springdemo.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import viqiang.ye.springdemo.dao.HelloDAO;

@Service
public class HelloServiceImpl implements HelloService {
    @Autowired
    private HelloDAO helloDAO;

    @Override
    public String sayHello() {
        return helloDAO.search();
    }
}
